home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Sample Code / Snippets / Development Tools & Languages / Shared Lib. Mgr. C++ / !!SLM INSTRUCTIONS < prev    next >
Encoding:
Text File  |  1992-08-30  |  746 b   |  25 lines  |  [TEXT/MPS ]

  1. # List of things when moving a generic C++ class to a SLM C++ class
  2.  
  3. 1. Remove all #pragma segment statements if you don't want
  4. explicit segmentation handling. SLM will do that anyway.
  5.  
  6. 2. Move all constructors to a NV.cp file.
  7.  
  8. 3. Make sure to have a default constructor and destructor.
  9.  
  10. 4. Create a Makefile.
  11.  
  12. 5. Add the needed .r files that will be used to Rez things into code resources
  13.     - we need two, one for the Library rez, and the other for the 
  14.       test tool rez.
  15.  
  16. 6. Add pragma statements about the shared library rules.
  17.  
  18. 7. Make sure that all exported class functions are virtual!
  19.  
  20. 8. Make sure you have a InitLibraryManager() call in the main
  21.    function.
  22.    
  23. 9. Don't forget to add 'public TDynamic' base class.
  24.  
  25. 10.Hack when needed.